.app-header {

  .app-header-logo-wrapper {
    width: var(--app-menu);
    display: flex;
    align-items: center;
    justify-content: flex-start;
    font-size: 20px;
    color: plv(text-1);
    padding: 0 4px;
    cursor: pointer;
    box-sizing: border-box;
    font-family: sans-serif;
    font-weight: 600;

    img {
      height: 40px;
      margin-right: 4px;
    }
  }

  .app-header-start {
    display: flex;
    align-items: center;
    flex: 1;
    position: relative;
  }

  .app-header-end {
    display: flex;
    align-items: center;
    justify-content: flex-end;

    .app-header-user {
      display: flex;
      align-items: center;
      margin-left: 20px;
      font-size: 12px;
      height: 100%;
      padding: 0 10px;
      color: plv(text-2);

      &:hover {
        background-color: plv(secondary-2);
      }

      img {
        height: 28px;
        margin-right: 0.5em;
        border-radius: 14px;
      }

      .app-header-user-name {

      }

      .app-header-user-postn {
      }
    }
  }
}

.#{componentName(theme-selector)} {
  height: 32px;
  width: 32px;
  border-radius: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all ease 300ms;
  user-select: none;
  //border: solid 1px plv(secondary-3);
  box-sizing: border-box;
  position: relative;
  color: plv(text-2);

  & + .#{componentName(theme-selector)} {
    margin-left: 10px;
  }

  &:hover:not(:active) {
    background-color: plv(secondary-2);
  }

  .app-header-button-tip {
    position: absolute;
    left: calc(100% - 0.25em);
    bottom: calc(100% - 0.25em);
    height: 14px;
    min-width: 14px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: plv(error-6);
    color: white;
    transform: translate3d(-50%, 50%, 0);
    border: solid 1px plv(background-color);

    span {
      transform: scale(0.7);
    }
  }
}

.app-theme-switcher {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.pro-manager-bell-item {
  display: flex;
  align-items: stretch;
  padding: 16px 10px;
  border-bottom: solid 1px plv(border-color);

  .pro-manager-bell-msg-img {
    height: 48px;
    width: 48px;
    border-radius: 48px;
    display: flex;
    align-items: center;
    color: white;
    justify-content: center;
    font-size: 28px;
    margin-right: 16px;
  }

  .pro-manager-bell-item-info {
    display: flex;
    flex-direction: column;
    flex: 1;
    align-items: stretch;
    justify-content: space-between;

    & > div:first-child {
      display: flex;
      align-items: center;
      justify-content: space-between;
      font-size: plv(font-size-normal);
      color: plv(text-1);

      & > span:nth-child(2) {
        font-size: plv(font-size-small);
        color: plv(text-3);
      }
    }

    & > div:nth-child(2) {
      font-size: plv(font-size-small);
      color: plv(text-3);
    }
  }
}

.pro-manager-bell-item {
  &.pro-manager-bell-item-todo {
    .pro-manager-bell-item-info {
      & > div:first-child {
        margin-bottom: 10px;
        @include comp(button) {
          padding: 4px 4px;
          line-height: 1em;
          height: auto;
          margin-left: 2px;
          border: solid 1px currentColor;
          font-size: 12px;
        }
      }
    }
  }
}
